home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
utils
/
whati~gz.zoo
/
whatis.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-09-13
|
1KB
|
54 lines
/*
* whatis.h
*/
static char *rcsid_whatis_h = "$Id: whatis.h,v 2.0 1992/09/13 05:02:44 rosenkra Exp $";
/*
* $Log: whatis.h,v $
* Revision 2.0 1992/09/13 05:02:44 rosenkra
* total rewrite. this if first rev of this file.
*
*
*/
#ifdef CHECK_MAGIC
#define MAGIC "WHATIS/ST" /* file's magic */
#define MAGIC_CHECK_LEN 9 /* how much of magic has to match? */
/* rest is comment. this MAGIC is */
/* for whatis._?_ files */
#endif
#define MANPATH "d:\\usr\\man\0\0<-----------patch space------------->"
/* db is $MANPATH/whatis._?_ */
#define WHATIS "whatis" /* db name (root) */
#define WHATISIN "whatisin" /* list of sections */
#define SECTIONS "0123456789lno\0\0<----------patch space------------->"
/* list of sections */
#define SLASH "\\" /* use "/" for unix, UNIXMODE */
#define REC_SIZE 1024 /* max line length in database */
#define MAX_ALIAS 10 /* max number of aliases, */
#define MAX_XREF 50 /* cross refs, and */
#define MAX_KEYW 50 /* keywords */
/*
* record structure (after reading from file)
*/
struct rec
{
char *name;
char *alias[MAX_ALIAS];
char *section;
char *subsect;
char *desc;
char *xref[MAX_XREF];
char *keyw[MAX_KEYW];
};